package com.example.dynamicschedule.dao;


import com.example.dynamicschedule.bean.CkOrderLoanOutsourcing;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

@Repository
public interface CkOrderLoanOutsourcingMapper {
    int deleteByPrimaryKey(Long id);

    int insert(CkOrderLoanOutsourcing record);

    int insertSelective(CkOrderLoanOutsourcing record);

    CkOrderLoanOutsourcing selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(CkOrderLoanOutsourcing record);

    int updateByPrimaryKeyWithBLOBs(CkOrderLoanOutsourcing record);

    int updateByPrimaryKey(CkOrderLoanOutsourcing record);

    void insertList( List<CkOrderLoanOutsourcing> ckOrderLoanOutsourcings);

    List<CkOrderLoanOutsourcing> findByStatus(byte status);

    void updateForEach(List<CkOrderLoanOutsourcing> ckOrderLoanOutsourcings);
}